﻿@model Bordspil.Models.GameInstance

@{
    ViewBag.Title = "CreatePairGame";
    Layout = "~/Views/Shared/_LayoutForLoggedIn.cshtml";
}

<h2>Búa til Samstæðuspil</h2>
<div class="NameOfTheGame">

    @using( Html.BeginForm("CreatePairGame", "Game", FormMethod.Post))
    {
        <h3>Nafn á leiknum</h3>
        @Html.LabelFor(x => x.name)
        @Html.TextBoxFor(x => x.name)

        <input type="submit" value="Búa til leik" />
    }
</div>